package com.cgnpc.scp.common.utils;

import org.springframework.http.MediaType;

/**
 * 类型<br>
 * 这个类不做其他作用，只是为了引出参考来源<br>
 *
 * @see org.springframework.http.MediaType
 */
public class MediaTypeUtil {
    /**
     * A String equivalent of {@link MediaType#ALL}.
     */
    public static final String ALL_VALUE = "*/*";

    /**
     * A String equivalent of {@link MediaType#APPLICATION_OCTET_STREAM}.
     */
    public final static String APPLICATION_OCTET_STREAM_VALUE = "application/octet-stream";

    /**
     * A String equivalent of {@link MediaType#MULTIPART_FORM_DATA}.
     */
    public final static String MULTIPART_FORM_DATA_VALUE = "multipart/form-data";

    /**
     * A String equivalent of {@link MediaType#APPLICATION_OCTET_STREAM}.
     */
    public final static String APPLICATION_OCTET_STREAM_UTF8_VALUE = "application/octet-stream;charset=UTF-8";

    /**
     * A String equivalent of {@link MediaType#TEXT_PLAIN}.
     */
    public final static String TEXT_PLAIN_VALUE = "text/plain";

    /**
     * A String equivalent of {@link MediaType#TEXT_PLAIN}.
     */
    public final static String TEXT_PLAIN_UTF8_VALUE = "text/plain;charset=UTF-8";

}
